<?php if($_SESSION['isEdit'] > 0 && !isset($_GET['view'])){?>

<?php
$v = $vo;
if(!empty($subvo)){
    $v = $subvo;
    $subvo = '';
}
if(!empty($subsubvo)){
    $v = $subsubvo;
    $subsubvo = '';
}
?>


<a class="addModulesbtn" style="background:rgba(0,0,0,0.4); border:1px solid #000; z-index:100; display:none; position:absolute; bottom:0px; right:0px; color:#fff;" href="javascript:void(0);" onClick="mydialog.open('<?php echo U('Admin/Modules/add',array('templatefilename' => $v['templatefilename'],'sort' => $v['sort'],'siteid'=>__SITEID__));?>', {width: 800, height: 500,lock:true,title:'新增模块'});">添加模块</a>
<?php }?>